package com.ruoyi.labdata.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仪器文件对象 lab_file
 * 
 * @author winner pan
 * @date 2022-02-22
 */
public class LabFile extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键 */
	private Long fileId;

	/** 文件名 */
	@Excel(name = "文件名")
	private String fileName;

	/** 文件路径 */
	@Excel(name = "文件路径")
	private String filePath;

	/** 文件大小 */
	@Excel(name = "文件大小")
	private Long fileSize;

	/** 是否删除 */
	@Excel(name = "是否删除")
	private Long isDelete;

	/** 仪器ID */
	@Excel(name = "仪器ID")
	private Long instrumentId;

	private String belongType;

	public String getBelongType() {
		return belongType;
	}

	public void setBelongType(String belongType) {
		this.belongType = belongType;
	}

	public void setFileId(Long fileId) {
		this.fileId = fileId;
	}

	public Long getFileId() {
		return fileId;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFileSize(Long fileSize) {
		this.fileSize = fileSize;
	}

	public Long getFileSize() {
		return fileSize;
	}

	public void setIsDelete(Long isDelete) {
		this.isDelete = isDelete;
	}

	public Long getIsDelete() {
		return isDelete;
	}

	public void setInstrumentId(Long instrumentId) {
		this.instrumentId = instrumentId;
	}

	public Long getInstrumentId() {
		return instrumentId;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("fileId", getFileId())
				.append("fileName", getFileName()).append("filePath", getFilePath()).append("fileSize", getFileSize())
				.append("isDelete", getIsDelete()).append("instrumentId", getInstrumentId()).toString();
	}
}
